home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / SSQL31.ZIP;1 / INSTSSQL.EXE / SSQLEDIT.HLP (.txt) < prev    next >
Encoding:
Borland Turbo Vision Help  |  1992-03-24  |  21.6 KB  |  448 lines

  1. FBHF8V
  2. THelpTopic
  3.  SSQL GENERAL HELP 
  4. To exit help, press ESC. For SQL help, press Shift-F1 instead of F1. 
  5. Help screens sometimes have highlighted words and phrases which correspond to additional help screens (see below).  You can use the TAB key to move to a highligted area and press the ENTER key to go to that help screen. 
  6.  Other Topics:
  7.  Quick
  8. Start
  9. commands
  10.  Text
  11. Editor
  12.  File (ALT-F)
  13.  Edit (ALT-E)
  14.  Search (ALT-S)
  15.  Window (ALT-W)
  16.  SQL (ALT-Q)
  17.  LICENSE
  18. AGREEMENT
  19. Use PgUp and PgDn if a there is more help than fits on the screen. Menus along the top of the screen and highlighted letters in dialog boxes are accessed by holding down the ALT key and tapping the highlighted letter. For example, the "File" menu is pulled down by Alt-F. 
  20. THelpTopic
  21.  Text Editor 
  22. The commands for the file editor are standard to most editors. 
  23.  Block commands.
  24. Marking, copying and moving blocks. Blocks can be moved/copied from window to window. O
  25.  Insert
  26. Delete commands.
  27.  Cursor
  28. Movement commands.
  29.  Miscellaneous commands.
  30. THelpTopic
  31.   Miscellaneous Editor Commands
  32.   Menu bar                 
  33.   Save and Edit            
  34.   New File                 
  35.   Close Active Window      
  36.  ALT-F3
  37.   Find                     
  38.  Ctrl-Q F
  39.   Find and Replace         
  40.  Ctrl-Q A
  41.   Repeat last Find/Replace 
  42.  Ctrl-L
  43.   Cancel Operation         
  44. THelpTopic
  45.    License Agreement for SSQL 
  46. You are given a 60-day license to use SSQL.  Anything beyond that is as illegal and unethical as using any commercial software. 
  47. SSQL is shareware, also referred to as user-supported software.  Try it.  If you like it and use it, register it.  It is well-worth the money.  If if doesn't suit your needs, you are not out a lot of money. 
  48. Shareware is a marketing concept to keep marketing costs down.  The savings is passed on to the user.   Please help support it. 
  49. CLASSROOM USE.  If SSQL is used in a class, each student must be a registered user.  Contact SilvaWare for significant volume discounts. (HEY! It may be a good time discuss ethics with your students!) 
  50. THelpTopic
  51.    Quick Start for SQL 
  52. Quick Start: 0
  53.  Type the command, e.g.
  54.  select *
  55.  from branch;
  56.  Press F4 to process the command.
  57. The answer will appear in a edit window on the right.  You can now edit it, print it, save it - anything you can do with a regular file. 
  58. If you want a new query, press ALT-F3 to close the output window on the right, otherwise the "desktop" gets cluttered and you will soon run out of space. i
  59. To quickly erase the existing query, Shift-PgUp (assuming curser is at bottom of query), then Ctrl-Del. 
  60. THelpTopic
  61.  File  (Alt-F) 
  62. The File menu offers choices for opening files, changing directories, and exiting the program. G
  63.  Open 
  64.  New  
  65.  Save
  66.  Save
  67. as...
  68.  Print
  69.  Change
  70. Shell 
  71.  Exit
  72. THelpTopic
  73.  File
  74. Open  (F3) 
  75. The Open command displays the Open a File dialog box. In this dialog box you select the text file you want edit. &
  76. The Open
  77. File dialog box contains: 
  78.  an input
  79. box with a history list
  80.  a list
  81. box to browse the directory
  82.  the standard Cancel button
  83.  Open action button
  84.  an information panel that describes the
  85.    selected file
  86.      
  87. THelpTopic
  88.  File
  89.       
  90. File New opens up a edit box to start entering new information.  When you exit, it will ask whether you want to save it to a file. 
  91. Related topic: Editor 
  92. THelpTopic
  93.  File
  94. Save  (F2) 
  95. Save the current file.  If it is untitled (you selected File|New), you will be asked for a name. 
  96. THelpTopic
  97.  File
  98. Save As... 
  99. Use the Save As... selection when you want to name an untitled file (you selected File|New), or you want to save a file under a different name.  The original file will be left unchanged. The  command displays the Save a File dialog box. In this dialog box you can select the file name you want to save it under or enter a new name. %
  100. The Save
  101. As... dialog box contains: 
  102.  an input
  103. box with a history list
  104.  a list
  105. box to browse the directory
  106.  the standard Cancel button
  107.  OK action button
  108.      
  109. THelpTopic
  110. Press this if you agree with the selection(s) you have made.  It is the same as pressing the Enter key. 
  111. THelpTopic
  112.  File
  113. Change Dir...
  114. Change Dir brings up the Change
  115. Directory dialog box, in which you can change the current directory. 
  116. THelpTopic
  117.  File
  118. Print 
  119. Prints whatever is in the current window and then advances to the top of the next page. 
  120. THelpTopic
  121.  File
  122. DOS Shell 
  123. With the DOS Shell command, you can leave the program temporarily to perform a DOS command or run another program. 9
  124. To return to this program, type EXIT at the DOS prompt. 
  125. THelpTopic
  126.  File
  127. Exit 
  128.      (Alt-X)
  129. The Exit command terminates this program. 
  130. THelpTopic
  131. The Edit menu conatins commands to undo the previous edit operation, cut a block of text and put it in the clipboard, copy a block of text into the clipboard, paste the most recent block put in the clipboard, show the clipboard which contains ALL previous blocks put in the clipboard, and clear which clears the block from the screen and does not put it in the clipboard. Related topic: Mark
  132. block 
  133. THelpTopic
  134.   Edit
  135. Undo 
  136. The Undo command takes back the last editing command you performed on a line. 
  137. THelpTopic
  138.   Edit
  139. Cut (Shift-Del) 
  140. The Cut command removes the blocked text form your document and puts the text in the clipboard. 
  141. You can then move to another location in your document and choose paste to take the cut text out of the clipboard and put it in your document. F
  142. The text stays in your clipboard so you can paste it more than once. 
  143. THelpTopic
  144.   Edit
  145. Copy (Ctrl-Ins) 
  146. The Copy command leaves the selected text intact and places a copy of it in the clipboard. 
  147. You can then move to another location in your document and choose paste to take the cut text out of the clipboard and put it in your document. F
  148. The text stays in your clipboard so you can paste it more than once. 
  149. THelpTopic
  150.   Edit
  151. Paste (Shift-Ins) 
  152. The paste command copies the selected text from the clipboard into the document at the cursor. 
  153. THelpTopic
  154.   Edit
  155. Show Clipboard 
  156. The Show Clipboard command opens the clipboard window which stores the text you cut and copied from other windows. X
  157. The currently selected (highlighted) text is the text SSQL uses when you choose paste. 
  158. THelpTopic
  159.   Edit
  160. Clear (Ctrl-Del) 
  161. The clear command removes the selected text but does not put it into the clipboard. 8
  162. The cleared text is retrievable with the undo command. 
  163. THelpTopic
  164.  Search 
  165. The Search menu contains command to find text in the current file, replace existing text with new text, and search
  166. again for text to find or replace. 
  167. THelpTopic
  168.  Search
  169. Find (Ctrl-Q F) 
  170. The find command displays a dialog box where you enter the text that you want to find.  It starts searching where the cursor is to the bottom of the file.  If you want to search for the same text again, press Ctrl-L or select Search
  171. Again 
  172. THelpTopic
  173.  Search
  174. Replace (Ctrl-Q A) 
  175. The Replace command combines the Find command with the ability to replace the text it finds with new text.  You will be asked to enter the text to find.  Remember to press the Tab to get to the entry for the replacement text.  Use the SearchAgain option to find and replace the next occurence of text. 
  176. THelpTopic
  177.  Search
  178. Again (Ctrl-L) 
  179. The Search Again command repeats the last Find or Replace. 
  180. THelpTopic
  181.  Window 
  182.     (Alt-W)
  183. The Window menu contains commands to close, move and perform other window-management commands. 
  184. Most of the windows in this program have all the standard window elements, including scroll bars, a close box, and zoom icons. >
  185. For more about windows and their elements, refer to windows. :
  186.  Window-management commands
  187.  Size/Move        Zoom
  188.  Tile             Cascade
  189.  Next             Previous
  190.  Close
  191. THelpTopic
  192.  Window
  193. Size/Move 
  194.      (Ctrl-F5)
  195. Choose this command to change the size or position of the active window. 
  196.   Size
  197. If you press Shift while you use the arrow keys, you can change the size of the active window. Once you've adjusted its size or position, press Enter. Q
  198. If a window has a Resize corner, you can drag that corner to resize the window. 
  199.   Move
  200. When you choose Window
  201. Size/Move, the active window moves in response to the arrow keys. Once you've moved the window to where you want it, press Enter. F
  202. You can also move a window by dragging its title bar with the mouse. 
  203. THelpTopic
  204.  Window
  205. Zoom 
  206.    (F5)
  207. Choose Zoom to resize the active window to the maximum size. If the window is already zoomed, you can choose this command to restore it to its previous size. {
  208. You can also double-click anywhere on the window's title bar (except where an icon appears) to zoom or unzoom the window. 
  209. THelpTopic
  210.  Window
  211. Tile 
  212. Choose Window
  213. Tile to tile all file viewers on the desktop. L
  214.                
  215.                
  216.                
  217.                
  218.                
  219.                
  220.                
  221.                
  222.                
  223.                
  224.                
  225.                
  226.                
  227.                
  228.                
  229.                
  230.              Tiled Windows
  231. THelpTopic
  232.  Window
  233. Cascade 
  234. Choose Window
  235. Cascade to stack all file viewers on the desktop. A
  236.                          
  237.                          
  238.                          
  239.                          
  240.                          
  241.         Cascaded Windows
  242. THelpTopic
  243.  Window
  244. Next 
  245. Choose Next to cycle forwards through the windows on the desktop. 
  246. THelpTopic
  247.  Window
  248. Previous 
  249. Choose Previous to cycle backwards through the windows on the desktop. 
  250. THelpTopic
  251.  Window
  252. Close 
  253.     (Alt-F3)
  254. Choose Close to close the active window. O
  255. You can also click the Close box in the upper right corner to close a window. 
  256. THelpTopic
  257.  Options
  258. Save Desktop 
  259. Saves the state of all open windows to a file call TVDEMO.DSK. This file can be reloaded by selecting Options
  260. RestoreDesktop. 
  261. THelpTopic
  262.  Options
  263. Restore Desktop 
  264. Restore a previously-saved state of all open windows from a file call TVDEMO.DSK. This file is saved via the Options
  265. Desktop menu command. 
  266. THelpTopic
  267.  The File Dialog Box 
  268. The File dialog box contains an input box, a file
  269. list, a file information panel, the standard button Cancel, one other action button (Open if you selected File Open or OK if you selected Save As...), plus a history list that's attached to the Name
  270. inputbox. 
  271. THelpTopic
  272.  Name 
  273.                                  
  274. The Name input box is where you enter the name of the file to load, or the file-name mask to use as a filter for the Files list box (for example, *.*). 
  275. THelpTopic
  276.  Files 
  277.                                  
  278.   FILENM01.QRY  
  279.   FILENM09.QRY  
  280.   FILENM02.QRY  
  281.   FILENM10.QRY  
  282.   FILENM03.QRY  
  283.   FILENM11.QRY  
  284.   FILENM04.QRY  
  285.   FILENM12.QRY  
  286.   FILENM05.QRY  
  287.   ..            
  288.   FILENM06.QRY  
  289.   \MOREXAMP     
  290.   FILENM07.QRY  
  291.   \TOURS        
  292.   FILENM08.QRY  
  293.   \ANSWERS.DIR  
  294. The Files list box lists the names of files in the current directory that match the file-name mask in the Name input box, plus the parent directory and all subdirectories. 
  295.  C:\TP\EXAMPLES\*.QRY                     
  296.  HELLO.QRY       52  Jul 14,1990  12:00pm 
  297. The File information panel shows the path name, file name, date, time, and size of the selected file. =
  298. None of the items on this information panel are selectable. 
  299. THelpTopic
  300.  [ Open ] 
  301. The Open button opens a new Edit window and places the selected file in that window. 
  302. THelpTopic
  303.  [ Cancel ] 
  304. If you choose Cancel, nothing changes and no action occurs, and the dialog box is put away. M
  305. (Esc always cancels a dialog box, even if a Cancel button does not appear.) 
  306. THelpTopic
  307.  [ Open ] 
  308. In the Open a File dialog box, if you choose the Open button it opens a new file to edit and places the selected file in a window. 
  309. THelpTopic
  310.  Help on the Change Directory dialog box 
  311. The Change Directory dialog box consists of an input box, a list box, the standard OK and Help buttons, and two other buttons (Chdir and Revert). |
  312.  Directory Name 
  313.                                      
  314. The Directory Name input box is where you type in the path of the new directory. 
  315.  Directory Tree 
  316.    Drives                            
  317. C:\                            
  318.      
  319. TP                           
  320.        
  321. TVISION                    
  322. The Directory Tree list box enables you to navigate directories by using the selecting bar and pressing Enter. 
  323. If you're using the keyboard, press Enter to make the selected directory be the current directory, then choose OK or press Esc to exit the dialog box. +
  324.  [Chdir ] 
  325. The Chdir button changes the current directory once you've selected or typed in a directory name. +
  326.  [Revert] 
  327. The Revert button goes back to the previous directory, as long as you haven't yet exited the dialog box. 
  328. THelpTopic    
  329.   Block Commands 
  330.  Mark A Block 
  331. Move the cursor to one end of the block.  While holding down the shift key use the arrow keys to move to the other end of the block.  Now it is marked. F
  332.  Or...
  333.  Begin mark Ctrl-K B
  334.  End mark   Ctrl-K K
  335.  Mark word  Ctrl K T
  336. Once a block is marked, you can use the following: E
  337.  Copy    Ctrl-K C  
  338.  Move    Ctrl-K V 
  339.  Delete  Ctrl-K Y or Ctrl-Del
  340. Or you can use the edit commands: v
  341.  Ctrl-Ins   Copy block to clipboard
  342.  Shift-Del  Cut block and put in clipboard
  343.  Shift-Ins  Paste block from clipboard
  344. Previously cut and copied blocks are stored in the clipboard. 
  345. THelpTopic
  346.   Cursor Movement Commands 
  347.   Character left  
  348.  Left arrow or Ctrl-S
  349.   Character right 
  350.  Right arrow or Ctrl-D
  351.   Word left       
  352.  Ctrl-Left arrow or Ctrl-A
  353.   Word right      
  354.  Ctrl-Right arrow or Ctrl-F
  355.   Line up         
  356.  Up arrow or Ctrl-E
  357.   Line down       
  358.  Down arrow or Ctrl-X
  359.   Page up         
  360.  PgUp or Ctrl-R
  361.   Page down       
  362.  PgDn or Ctrl-C
  363.                   
  364. THelpTopic
  365.   Insert & Delete Commands
  366.   Insert mode on/off    
  367.  Ins or Ctrl-V
  368.   Delete line           
  369.  Ctrl-Y
  370.   Delete to end of line 
  371.  Ctrl-Q Y
  372.   Delete character left 
  373.  Backspace or Ctrl-H
  374.   Delete character      
  375.  Del or Ctrl-G
  376.   Delete word right     
  377.  Ctrl-T
  378.                         
  379. THelpTopic
  380.  SQL 
  381.  This menu contains SSQL specific options such as: 
  382.  Process F4
  383.  Form
  384.  Report
  385. THelpTopic
  386.  File
  387. Process (F4) 
  388. The Process command takes the text that is displayed and sends it to the SSQL engine to be processed.  If it is a query, the response will be in a text file called QUERY.TXT that is opened to the right of the query.  Other commands will have a response in a box to describe what occurred. 
  389. THelpTopic
  390. Form 
  391. The Form program allows you to insert, update, view and delete in a much more user-friendly environment than standard SQL offers.  It will generate a standard form for a table that can then be modified - or you can start from scratch.   You have full data editing capabilities and you can easily move from prompt to prompt to make changes.            
  392. You can retrieve rows of information from the form based on  simple search criteria and then page through the rows  retrieved.  
  393.          
  394. SUMMARY OF KEYS WITHIN THE FORM 5
  395. UP/DOWN ARROWS will move you from prompt to prompt. S
  396. LEFT/RIGHT ARROWS, HOME, END, INSERT, DEL are the same as they are in the editor. R
  397. PAGEUP (used in Update/View mode) will display the previous row of information.  P
  398. PAGEDOWN (used in Update/View mode) will display the next row of information.  6
  399. ESC will cancel the entry and exit the form program. 
  400. ENTER will move you from prompt to prompt.  At the last prompt, it will accept the form and insert the information into the table.  
  401.          
  402. F2   Takes the information you have already entered in the form and searches the table for a match.  All rows that match are retrieved.  You can use the PAGEUP/PAGEDOWN to display the other rows. 
  403.          
  404. F4   Displays the column value entered in the previous row.  $
  405. ALT-I     Puts you in INSERT mode. B
  406. ALT-V     Puts you in VIEW mode and turns off column validation. *
  407. ALT-U     UPDATEs what is on the screen. 3
  408. ALT-D     DELETEs based on what is on the screen. 
  409. THelpTopic
  410. Report 
  411. SSQL Report allows you to produce a formatted report.  Use the SSQL editor to describe the report.          
  412.  ***SYNTAX OF REPORT FILES***
  413. All lines begin with a command.  All commands are two characters long.  The first character after the command corresponds to column one on the report. The following example shows you a basic report.  
  414.  -- RPT1.FRM (With 3 tables and no indexing, it is slow on an
  415.  --           old PC)
  416.  HT                      SALES REPORT
  417.  HT      DATE      CUST NAME        PROD DESCRIP     QTY
  418.  HT      ********  ***************  ***************  ***
  419.  DT      XXXXXXXX  XXXXXXXXXXXXXXX  XXXXXXXXXXXXXXX  999
  420.  ET**** END OF REPORT ****
  421.  DC date, name, descrip, qty
  422.  TA sales,cust,prod
  423.  WH cc = cust.code and
  424.  WH pc = prod.code
  425.          
  426.  ** -- (COMMENTS) 
  427.  ** HT (HEADING optional)
  428.  ** DT (DETAIL TEXT)
  429. The detail represents the placement of information for each row retrieved from the table.  The information can be placed on more than one line.  It corresponds to the rows requested in the Detail Columns (DC) line. It may contain text, but Xs (character data)  and 9s (numeric data) have special meaning.  
  430.  ** FT (FOOTER optional)
  431. The footer is placed at the bottom of every page sent to the printer.  8
  432.  ** ET (END OF REPORT optional)
  433.  ** DC (DETAIL COLUMNS)
  434. There must be a column for every format described under DT.  The format follows the syntax for the select statement in SSQL.   
  435.  ** SUBTOTALS (optional) **
  436. Actually, subtotal is a misnomer because you can use any aggregate function (count, avg, min, max, sum) - not just sum.   See RPT2.FRM for an example. 
  437.  ** GRAND TOTAL (optional)
  438. See RPT3.FRM for an example. 
  439.  ** TA (TABLE(S))
  440. This correponds to one or more tables that you want selected.  There can be only on TA line in a report.  Anything valid after the first FROM in SQL is valid here.   #
  441.  ** WH (THE WHERE CLAUSE optional)
  442. Anything valid after the first FROM in SQL is valid here including subqueries with the following exception:  You cannot have a GROUP BY or an ORDER BY if you have also specified subtotals.  Make sure that the DC, TA, and WH lines go together to form a valid statement as in:  G
  443.  SELECT (DC line) 
  444.  FROM   (TA line) 
  445.  WHERE  (WH line(s)); 
  446.          
  447. THelpIndex<
  448.